angular.module('faApp')
.service('financierService', ['ajaxService', function(ajaxService) {

  this.financierList = function(cfg) {
    return ajaxService.post(ajaxService.getApiUri("FINANCIER_LIST"), cfg || {});
  };

  this.financierAdd = function(financier) {
    return ajaxService.post(ajaxService.getApiUri("FINANCIER_ADD"), financier || {});
  };

  this.financierDelete = function(id) {
    return ajaxService.post(ajaxService.getApiUri("FINANCIER_DELETE"), id || {});
  };

}]);